import { Component, Input, OnInit } from '@angular/core';
declare let $: any;
@Component({
  selector: 'app-simple-icon-tips-tag',
  templateUrl: './simple-icon-tips-tag.component.html',
  styleUrls: ['./simple-icon-tips-tag.component.scss'],
})
export class SimpleIconTipsTagComponent implements OnInit {

  @Input() tagData: any;
  simpleIconTipsTagId = 'simpleIconTipsTagId';
  constructor() { }
  ngOnInit() {
    this.simpleIconTipsTagId += new Date().getTime();
  }
  closeTips() {
    $('#' + this.simpleIconTipsTagId).fadeOut();
  }

}
